package com.vitabuybuy.tv.dto;

import com.vitabuybuy.tv.utils.LanaugeUtils;

import java.util.List;

/**
 * 作者：SimGa
 * 日期：2021/3/23
 * 时间：11:29
 * 包名：com.vitabuybuy.tv.dto
 */
public class NoticeDetailDto {
    private double amount;
    /**
     * name : 达人标签
     * id : 8
     */

    private LabelBean label;
    /**
     * name : puma旗舰店
     * logo : http://106.55.47.138/attachment/png/2420/2425_4124.png
     * id : 60
     */

    private StoreBean store;
    private String type;
    private String commissionType;
    private String completeImages;
    private String number;
    /**
     * address : {"zipcode":"1233233","phone":"13790030932","defaulted":true,"name":"测试","id":21,"detail":"147258","allRegion":"{\"EN\":\"China Hebei Qinhuangdao\",\"CN\":\"中国 河北 秦皇岛\",\"MA\":\"China Hebei Qinhuangdao\"}"}
     * fansQuantity : 5
     * endDate : 2021-04-10
     * id : 12
     * title : 考虑考虑
     * content : 头目某
     * productList : [{"thumbnail":"http://106.55.47.138/attachment/png/3598/1575_28558.png","name":"{\"CN\":\"上衣\",\"EN\":\"as\",\"MA\":\"yyggg\"}","id":87}]
     * startDate : 2021-03-10
     */

    private TaskBean task;
    private String createTime;
    /**
     * name : 京东快递
     * id : 20
     */

    private CourierBean courier;
    private int salesQuantity;
    /**
     * labelList : [{"name":"领域标签","id":7},{"name":"达人标签","id":8}]
     * gender : 男
     * phone : 13790030966
     * id : 9
     * avatar : http://106.55.47.138/attachment/png/7013/3283_25853.png
     * realname : 测试
     */

    private ExecutorBean executor;
    private double commission;
    private int id;
    private double seatPrice;
    private String trackingNumber;
    private String status;
    private String refuseReason;
    private double commissionAmount;

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }

    /**
     * link : http://106.55.47.138/user/#/goods-detail?id=87
     */

    private List<AgreementShareLinkListBean> agreementShareLinkList;

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public LabelBean getLabel() {
        return label;
    }

    public void setLabel(LabelBean label) {
        this.label = label;
    }

    public StoreBean getStore() {
        return store;
    }

    public void setStore(StoreBean store) {
        this.store = store;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCommissionType() {
        return commissionType;
    }

    public void setCommissionType(String commissionType) {
        this.commissionType = commissionType;
    }

    public String getCompleteImages() {
        return completeImages;
    }

    public void setCompleteImages(String completeImages) {
        this.completeImages = completeImages;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public TaskBean getTask() {
        return task;
    }

    public void setTask(TaskBean task) {
        this.task = task;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public CourierBean getCourier() {
        if (courier == null) {
            courier = new CourierBean();
        }
        return courier;
    }

    public void setCourier(CourierBean courier) {
        this.courier = courier;
    }

    public int getSalesQuantity() {
        return salesQuantity;
    }

    public void setSalesQuantity(int salesQuantity) {
        this.salesQuantity = salesQuantity;
    }

    public ExecutorBean getExecutor() {
        return executor;
    }

    public void setExecutor(ExecutorBean executor) {
        this.executor = executor;
    }

    public double getCommission() {
        return commission;
    }

    public void setCommission(double commission) {
        this.commission = commission;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getSeatPrice() {
        return seatPrice;
    }

    public void setSeatPrice(double seatPrice) {
        this.seatPrice = seatPrice;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public double getCommissionAmount() {
        return commissionAmount;
    }

    public void setCommissionAmount(double commissionAmount) {
        this.commissionAmount = commissionAmount;
    }

    public List<AgreementShareLinkListBean> getAgreementShareLinkList() {
        return agreementShareLinkList;
    }

    public void setAgreementShareLinkList(List<AgreementShareLinkListBean> agreementShareLinkList) {
        this.agreementShareLinkList = agreementShareLinkList;
    }

    public static class LabelBean {
        private String name;
        private int id;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class StoreBean {
        private String name;
        private String logo;
        private int id;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class TaskBean {
        /**
         * zipcode : 1233233
         * phone : 13790030932
         * defaulted : true
         * name : 测试
         * id : 21
         * detail : 147258
         * allRegion : {"EN":"China Hebei Qinhuangdao","CN":"中国 河北 秦皇岛","MA":"China Hebei Qinhuangdao"}
         */

        private AddressBean address;
        private int fansQuantity;
        private String endDate;
        private int id;
        private String title;
        private String liveType;
        private String content;
        private String startDate;

        public String getLiveType() {
            return liveType;
        }

        public void setLiveType(String liveType) {
            this.liveType = liveType;
        }

        /**
         * thumbnail : http://106.55.47.138/attachment/png/3598/1575_28558.png
         * name : {"CN":"上衣","EN":"as","MA":"yyggg"}
         * id : 87
         */


        private List<TaskPoolDetailDto.ProductListBean> productList;

        public AddressBean getAddress() {
            return address;
        }

        public void setAddress(AddressBean address) {
            this.address = address;
        }

        public int getFansQuantity() {
            return fansQuantity;
        }

        public void setFansQuantity(int fansQuantity) {
            this.fansQuantity = fansQuantity;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getStartDate() {
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public List<TaskPoolDetailDto.ProductListBean> getProductList() {
            return productList;
        }

        public void setProductList(List<TaskPoolDetailDto.ProductListBean> productList) {
            this.productList = productList;
        }

        public static class AddressBean {
            private String zipcode;
            private String phone;
            private boolean defaulted;
            private String name;
            private int id;
            private String detail;
            private String allRegion;

            private String addressDetail;

            public String getAddressDetail() {
                addressDetail = LanaugeUtils.returnStrByLocation(allRegion) + detail;
                return addressDetail;
            }

            public String getZipcode() {
                return zipcode;
            }

            public void setZipcode(String zipcode) {
                this.zipcode = zipcode;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public boolean isDefaulted() {
                return defaulted;
            }

            public void setDefaulted(boolean defaulted) {
                this.defaulted = defaulted;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getDetail() {
                return detail;
            }

            public void setDetail(String detail) {
                this.detail = detail;
            }

            public String getAllRegion() {
                return LanaugeUtils.returnStrByLocation(allRegion);
            }

            public void setAllRegion(String allRegion) {
                this.allRegion = allRegion;
            }
        }

        public static class ProductListBean {
            private String thumbnail;
            private String name;
            private int id;

            public String getThumbnail() {
                return thumbnail;
            }

            public void setThumbnail(String thumbnail) {
                this.thumbnail = thumbnail;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }

    public static class CourierBean {
        private String name;
        private int id;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class ExecutorBean {
        private String gender;
        private String phone;
        private int id;
        private String avatar;
        private String realname;
        /**
         * name : 领域标签
         * id : 7
         */

        private List<LabelListBean> labelList;

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public List<LabelListBean> getLabelList() {
            return labelList;
        }

        public void setLabelList(List<LabelListBean> labelList) {
            this.labelList = labelList;
        }

        public static class LabelListBean {
            private String name;
            private int id;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }

    public static class AgreementShareLinkListBean {
        private String link;

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }
    }
}
